﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ARS.Control.Custom.DataPaging.Attributes;

namespace ARS.Control.Interface
{
    public interface IPermDataPaging
    {
        /// <summary>
        /// 检测删除权限
        /// </summary>
        /// <returns></returns>
        bool CheckDelPerm(DataPagingDb dbModel);
        /// <summary>
        /// 检测操作权限
        /// </summary>
        /// <returns></returns>
        bool CheckOperatPerm(DataPagingDb dbModel, int index);

    }
}
